<script setup lang="ts">
import { formatTime } from '@/utils/time'
const time = formatTime()
</script>

<template>
  <el-row>
    <el-col :span="6" class="left">
      <span @click="$router.push('/')">首页</span>
    </el-col>
    <el-col :span="12" class="center">
      <span>智慧旅游可视化大数据平台</span>
    </el-col>
    <el-col :span="6" class="right">
      <span>统计报告</span>
      <h3>{{ time }}</h3>
    </el-col>
  </el-row>
</template>

<style scoped lang="scss">
.el-row {
  height: 40px;
  color: #29fcff;
  .left {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    background: url('../../images/dataScreen-header-left-bg.png') no-repeat
      center/cover;
    span {
      cursor: pointer;
      width: 120px;
      font-size: 20px;
      text-align: center;
      line-height: 40px;
      background: url('../../images/dataScreen-header-btn-bg-l.png') no-repeat
        center/contain;
    }
  }
  .center {
    height: 90px;
    width: 100%;
    font-size: 40px;
    line-height: 90px;
    text-align: center;
    background: url('../../images/dataScreen-header-center-bg.png') no-repeat
      center/cover;
  }
  .right {
    height: 100%;
    width: 100%;
    display: flex;
    background: url('../../images/dataScreen-header-right-bg.png') no-repeat
      center/cover;
    span {
      width: 120px;
      font-size: 20px;
      text-align: center;
      line-height: 40px;
      background: url('../../images/dataScreen-header-btn-bg-l.png') no-repeat
        center/contain;
    }
    h3 {
      margin-left: 40px;
      height: 40px;
      line-height: 40px;
      font-size: 20px;
    }
  }
}
</style>
